﻿@{
    Layout = "~/Views/Shared/_Layout_Employee.cshtml";
}
<script type="text/javascript">
    $(document).ready(function () {
//        $.get('/LeaveRequests/_LeaveRequestsEmployee', function (data1) {
//            $("#leaveRequestDiv").html(data1);
//        });

//        $.get('/LeaveRequests/_GetLeaveRequestTable', function (data) {
//            $("#leaveRequestTable").html(data);
//        });
        $("#leaveRequestDiv").load('/LeaveRequests/_LeaveRequestsEmployee');
        $("#leaveRequestTable").load('/LeaveRequests/_GetLeaveRequestTable');
    });

   
</script>

<div id="leaveRequestDiv">
</div>
<div id="leaveRequestTable">
</div>

        

